/******************************************************************************/
/* fmem_layer_def.h                                                           */
/******************************************************************************/

#ifndef __FMEM_LAYER_DEF_H
#define __FMEM_LAYER_DEF_H


/********************* Macros & Constants for FMEM ****************************/
#define PAGE_SIZE     AT25DF_PAGE_SIZE
#define SECTOR_SIZE   AT25DF_SECTOR_SIZE_4


/************************** Prototypes & struct for FMEM **********************/
typedef struct
{
    uint32_t addr;
    uint8_t * pBuff;
    uint32_t dataLen;
} __FMEM_DATA;

#endif